<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/gcoord/dist/gcoord.global.prod.js"></script>
</head>

<body>

</body>
<script>
    const paths = [
        [102.755506, 24.94784],
        [102.755716, 24.947858],
        [102.756076, 24.947698],
        [102.756076, 24.947698],
        [102.756188, 24.947848],
        [102.75635, 24.947987],
        [102.75635, 24.947987],
        [102.755534, 24.948899],
        [102.755534, 24.948899],
        [102.755652, 24.948996],
        [102.75599, 24.949275],
        [102.756086, 24.949355],
        [102.757347, 24.947907],
        [102.757755, 24.947429],
        [102.7579, 24.947263],
        [102.757964, 24.947183],
        [102.758291, 24.946812],
        [102.758404, 24.946684],
        [102.758694, 24.946362],
        [102.758876, 24.946174],
        [102.758967, 24.946083],
        [102.759654, 24.945294],
        [102.760013, 24.944903],
        [102.760582, 24.944259],
        [102.760893, 24.943948],
        [102.761172, 24.943701],
        [102.761542, 24.943401],
        [102.762003, 24.943073],
        [102.762416, 24.942811],
        [102.762626, 24.942682],
        [102.762873, 24.942558],
        [102.763296, 24.942365],
        [102.763634, 24.942247],
        [102.763715, 24.942226],
        [102.763811, 24.942194],
        [102.764149, 24.942097],
        [102.764718, 24.941941],
        [102.765152, 24.941856],
        [102.765539, 24.941797],
        [102.765984, 24.941748],
        [102.766113, 24.941743],
        [102.766376, 24.941727],
        [102.766805, 24.941721],
        [102.76718, 24.941738],
        [102.767674, 24.941781],
        [102.768167, 24.94185],
        [102.768945, 24.942022],
        [102.769342, 24.94214],
        [102.769728, 24.942274],
        [102.770157, 24.942451],
        [102.770447, 24.942585],
        [102.77107, 24.942923],
        [102.773864, 24.944473],
        [102.775833, 24.945563],
        [102.777008, 24.94619],
        [102.778054, 24.946775],
        [102.778333, 24.946936],
        [102.778424, 24.946984],
        [102.778655, 24.947113],
        [102.779234, 24.947445],
        [102.780087, 24.947928],
        [102.78124, 24.948566],
        [102.781557, 24.948744],
        [102.781809, 24.948883],
        [102.782174, 24.949098],
        [102.782319, 24.949178],
        [102.783204, 24.949656],
        [102.783204, 24.949656],
        [102.783794, 24.949951],
        [102.783885, 24.949993],
        [102.784282, 24.950165],
        [102.785371, 24.9506],
        [102.78786, 24.951496],
        [102.788085, 24.951581],
        [102.788278, 24.951651],
        [102.789298, 24.952],
        [102.790016, 24.95223],
        [102.79065, 24.952472],
        [102.790848, 24.952547],
        [102.791647, 24.952719],
        [102.792307, 24.952874],
        [102.792366, 24.952885],
        [102.792431, 24.952896],
        [102.792548, 24.952928],
        [102.794662, 24.953378],
        [102.795756, 24.953647],
        [102.796277, 24.953786],
        [102.796985, 24.953995],
        [102.797988, 24.954344],
        [102.799458, 24.954859],
        [102.799673, 24.954934],
        [102.800263, 24.955116],
        [102.801137, 24.95532],
        [102.801421, 24.955363],
        [102.801555, 24.955385],
        [102.80221, 24.955471],
        [102.802414, 24.955492],
        [102.802618, 24.955508],
        [102.802934, 24.955524],
        [102.803245, 24.955535],
        [102.804318, 24.95553],
        [102.805075, 24.95553],
        [102.805949, 24.955519],
        [102.806233, 24.955513],
        [102.807692, 24.955503],
        [102.810058, 24.955481],
        [102.814333, 24.955438],
        [102.815347, 24.955492],
        [102.816163, 24.955594],
        [102.816973, 24.95576],
        [102.817659, 24.955943],
        [102.81818, 24.956093],
        [102.818743, 24.956307],
        [102.819526, 24.956656],
        [102.819526, 24.956656],
        [102.819746, 24.956801],
        [102.819966, 24.95693],
        [102.820261, 24.957096],
        [102.820819, 24.957402],
        [102.821157, 24.957573],
        [102.821264, 24.957616],
        [102.821457, 24.957675],
        [102.821699, 24.957756],
        [102.822176, 24.957868],
        [102.822434, 24.957911],
        [102.822643, 24.957928],
        [102.823013, 24.957933],
        [102.823319, 24.957911],
        [102.823576, 24.957874],
        [102.823807, 24.957826],
        [102.824247, 24.957686],
        [102.824628, 24.957536],
        [102.82496, 24.957364],
        [102.825271, 24.95716],
        [102.82554, 24.956951],
        [102.826446, 24.956168],
        [102.826902, 24.955792],
        [102.827213, 24.955513],
        [102.82745, 24.955267],
        [102.827863, 24.954773],
        [102.828678, 24.953631],
        [102.828785, 24.953432],
        [102.82952, 24.952477],
        [102.829906, 24.952],
        [102.830132, 24.951742],
        [102.83018, 24.951689],
        [102.830459, 24.951399],
        [102.830786, 24.951056],
        [102.831403, 24.950487],
        [102.831757, 24.950197],
        [102.831993, 24.95002],
        [102.832047, 24.949983],
        [102.832084, 24.949951],
        [102.832733, 24.949457],
        [102.833549, 24.948899],
        [102.833597, 24.948867],
        [102.834123, 24.948561],
        [102.834691, 24.948261],
        [102.835233, 24.947998],
        [102.835233, 24.947998],
        [102.835105, 24.94773],
        [102.834681, 24.946963],
        [102.834681, 24.946963],
        [102.834602, 24.946999]
    ];

    let tt = paths.map(v => {
        console.log(gcoord.transform(v, gcoord.GCJ02, gcoord.WGS84))
        return gcoord.transform(v, gcoord.GCJ02, gcoord.WGS84)
    })

</script>

</html>